<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Migration_Table_Commodity_AddColumn_Intro extends CI_Migration
{
    public function up()
    {
        $fields = array(
            'intro' => array('type' => 'TEXT')
        );
        $this->dbforge->add_column('commodity', $fields);
    }

    public function down()
    {
        $this->dbforge->drop_column('commodity', 'intro');
    }
} 